<template>
    <div class="address">
        <Headers title="收货地址" />
        <div class="addressList">
            <div class="addressList_item clearfix">
                <p class="name">萨杜
                    <span class="phone_number">168957985899</span>
                </p>
                <p class="postcode">邮政编码：123456</p>
                <p class="address_text">中国北京市昌平区金燕龙大厦123室</p>
                <p class="select">
                    <span></span>
                </p>
            </div>
        </div>
        <div class="add_address">
            <button class="btn">新建收货地址</button>
        </div>
    </div>
</template>
<script>
import Headers from "../../components/changeHeader"
export default {
    name: 'address',
    components: { Headers },
    data(){
        return {
            isAppear: false
        }
    },
}
</script>
<style lang="less" scoped>
.addressList {
    padding-top: 170/75rem;
    .addressList_item {
        box-shadow: 0 0 25px #ccc;
        padding: 20/75rem 30/75rem;
        p {
            color: #808080;
            font-size: 40/75rem;
            line-height: 60/75rem;
        }
        .name {
            .phone_number {
                margin-left: 50/75rem;
            }
        }
        .postcode {
            font-size: 30/75rem;
        }
        .address_text {
            line-height: 40/75rem;
            font-size: 30/75rem;
        }
        .select {
            width: 45/75rem; // text-align: center;
            height: 45/75rem;
            line-height: 45/75rem;
            border-radius: 100%;
            border: 2px solid #ff406f;
            float: right;
            margin-top: -15%;
            span {
                background: #ff406f;
                display: block;
                width: 38/75rem;
                height: 38/75rem;
                margin: 3/75rem auto;
                border-radius: 100%;
            }
        }
    }
}

.add_address {
    position: fixed;
    bottom: 0; // height: 70/75rem;
    width: 100%;
    padding: 20/75rem 0;
    box-shadow: 0 0 20/75rem #ccc;
    .btn {
        margin: 0 auto;
        display: block;
        line-height: 50px;
        width: 550/75rem;
        outline: none;
        border: 1px solid #808080;
        color: #808080;
        border-radius: 30/75rem;
        font-size: 30/75rem;
        padding: 0 20/75rem;
        background: rgba(255, 255, 255, 0)
    }
}

.add_address_item {
    background: rgba(0, 0, 0, 0.2);
}
</style>
